package com.itetchologyandenglish.home.mapper;

import com.github.pagehelper.PageInfo;
import com.itetchologyandenglish.home.enetity.Company;
import com.itetchologyandenglish.home.enetity.Orders;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OrdersMapper {
    List<Orders> getOrders(@Param("orders")Orders orders);

    Orders getOrdersById(Integer orderId);

    int updatePurchaseOrder(@Param("orders")Orders orders);

    int  deletePurchaseOrder(Integer orderId);

    int addPurchaseOrder(@Param("orders")Orders orders);

//    List<Orders> getSupplyOrder(@Param("orders")Orders orders);
}
